home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection 1998 Fall: Game Toolkit / Disc.iso / SDKs / Apple Game Sprockets / InputSprocket / Sample⁄Test Applications / InputSprocketPPTest / ISpPPTestTools.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-07-17  |  1.0 KB  |  27 lines  |  [TEXT/CWIE]

  1. /*************************************************************************************
  2.  
  3. File:      ISpPPTestTools.h
  4.  
  5. Copyright © 1996, 1997, 1998 Apple Computer, Inc., All Rights Reserved
  6.  
  7.  
  8. You may incorporate this sample code into your applications without
  9. restriction, though the sample code has been provided "AS IS" and the
  10. responsibility for its operation is 100% yours.  However, what you are
  11. not permitted to do is to redistribute the source as "DSC Sample Code"
  12. after having made changes. If you're going to re-distribute the source,
  13. we require that you make it clear in the source that the code was
  14. descended from Apple Sample Code, but that you've made changes.
  15.  
  16. *************************************************************************************/
  17.  
  18.  
  19. #pragma once
  20.  
  21. #include <Types.h>
  22.  
  23. void UInt32ToHexBytes(UInt32 number, unsigned char *bytes);
  24. void UInt32ToHexString(UInt32 number, Str255 theString);
  25. void UnsignedWideToHexString(const UnsignedWide &number, Str255 theString);
  26. void UInt32ToFourByte(UInt32 number, Str255 theString);
  27.